home *** CD-ROM | disk | FTP | other *** search
- /* Header for module TP_MIDI, generated by p2c */
-
- #ifndef TP_MIDI_H
- #define TP_MIDI_H
-
- #ifndef TP_DECL_H
- #include "tp_decl.h"
- #endif
-
- #ifndef TP_MISC_H
- #include "tp_misc.h"
- #endif
- #ifndef TP_DEBUG_H
- #include "tp_debug.h"
- #endif
-
- #ifndef TP_HEAP1_H
- #include "tp_heap1.h"
- #endif
- #ifndef TP_M2TF4_H
- #include "tp_m2tf4.h"
- #endif
-
- #ifdef TP_MIDI_G
- # define vextern
- #else
- # define vextern extern
- #endif
-
-
- Void InsertRest (TrackRecord *ThisTrack);
- Void ReadMetaEvent (TrackRecord *ThisTrack);
- boolean EndOfTrackReached (TrackRecord *ThisTrack);
- Void WriteTexHeader(void);
- Char *GetPortees (Char *Result);
- Char *StaffIndex (Char *Result,int No);
- Void Quantize (NoteRecord **N);
- Void ReadDeltaTime (TrackRecord *ThisTrack);
- Void ReadEvent (TrackRecord *ThisTrack);
- Void ChangeContext (NoteRecord *N);
- /* newly added */
- long FindStaff(long ThisTrack);
- Char *FindClefStaff(char *Result,long ThisTrack);
- static Void FinishTeXHeader(unsigned int num, unsigned int den);
- static Void ReadNoteOn(unsigned int MidCode,TrackRecord *ThisTrack);
- static Void ReadNoteOff(unsigned int MidCode,TrackRecord *ThisTrack);
- static Void ReadMetaText(int Len,TrackRecord *ThisTrack);
- void _TP_MIDI_init(void);
- #undef vextern
- #endif /*TP_MIDI_H*/
- /* End. */
-
-